AmpProject\AmpWP\BackgroundTask\MonitorCssTransientCaching S

Total Complexity 32
Dependencies 5
Dependents 1
Total lines 292
Lines of code 98
Logical lines of code 50
Comment lines 145
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
process()
A
54 8 18
sanitize_disabled_option()
S
54 6 20
disable_css_transient_caching()
S
66 2 9
calculate_average()
S
65 2 9
get_threshold()
S
74 2 4
get_sampling_range()
S
74 2 4
register()
S
75 1 4
get_interval()
S
81 1 3
get_event_name()
S
81 1 3
is_css_transient_caching_disabled()
S
79 1 3
enable_css_transient_caching()
S
80 1 3
query_css_transient_count()
S
71 1 6
get_time_series()
S
79 1 3
get_default_threshold()
S
81 1 3
get_default_sampling_range()
S
81 1 3
persist_time_series()
S
79 1 3